<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Dictionary extends Model
{
    protected $table = 'dictionaries';
    public $timestamps = false;

    protected $casts = [
        // 'options' => 'array',
    ];

    public function get_quota_power()
    {
        return (float)self::where('name', 'quota_power')->value('zhi');
    }

}
